
<template>
<div class="Shopcart">
<cartNavBar/>
<scroll class="content" ref="scroll">
 <cartItem @checkClick="checkClick"/>
</scroll>
</div>
</template>

<script>
import CartNavBar from './childcomps/CartNavBar'
import Scroll from '@/components/common/scroll/Scroll'
import CartItem from './childcomps/CartItem'

export default {
  name: 'Shopcart',
components:{
 CartItem,
 CartNavBar,
   Scroll,
},
 activated(){
 this.$refs.scroll.refresh()
  },




}
</script>

<style scoped>
.Shopcart{
height: 100vh;
position: relative;
}
.content{
background-color: rgb(226, 224, 224);
position: absolute;
top: 44px;
bottom: 49px;
left: 0px;
right: 0px;
overflow: hidden;
}
</style>
